home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Language/OS - Multiplatform Resource Library
/
LANGUAGE OS.iso
/
oper_sys
/
presto
/
prest1_0.lha
/
Tests
/
exer
/
README
< prev
next >
Wrap
Text File
|
1991-12-11
|
1KB
|
35 lines
All test programs take the following options, and possibly
some others which are listed in the description of the program
below.
-q<quantum> timeslice quantum in millisecs
-n<processors> number of processors to use
-t<mainthreads> number of main threads
-a enable processor affinity
(Sequent Symmetry only)
If no values for these options are specified, the program will
use the underlying Presto defaults. By default Presto uses a
preemption quantum of 0 (no timeslicing) and a single processor.
By default one main thread is used.
atomtest tests atomic integers
-l<loopcount> default 150
cvar tests condition variable broadcast/wait
-v --> verbose mode default quiet
locktest tests relinquishing locks
-l<loopcount> default 150
montest tests monitors (automatic exit)
-l<loopcount> default 150
pingpong exercises monitors and condition variables
-s<switchcount> default 10
-v --> cryptic verbose, default quiet
spintest tests spinlocks
-l<loopcount> default 150